<?php
//站点消息提醒设置默认值  saas站点优先使用这里配置文件
return [
           'field_list' =>    ['id','field_variable','notice_describe'],//已这里为准的字段 用户怎么保存都是获取这里字段的值
            //导航栏
           'th_list' =>    [
                      [
                        'name'  =>  '消息id',  
                        'field' =>  'id',     //渲染的字段
                        'type'  =>  'text',  //字段类型
                      ],
                      [
                        'name'  =>  '消息描述',  
                        'field' =>  'notice_describe',
                        'type'  =>  'text',
                      ],
                      [
                        'name'  =>  '系统通知',  
                        'field' =>  'system_notice',
                        'type'  =>  'edit',
                        'edit_val' =>'system_notice',
                      ],
                      [
                        'name'  =>  '短信通知',  
                        'field' =>  'sms_notice',
                        'type'  =>  'edit',
                        'edit_val' =>'sms_notice',
                      ],
                       [
                        'name'  =>  '公众号通知',  
                        'field' =>  'wx_mp_notice',
                        'type'  =>  'edit',
                        'edit_val' =>'wx_mp_notice',
                      ],
                  

 
                ],
           'list' =>  [  
               [  //消息推送默认值 
                  //消息id
                'id' => 1,  //唯一id  推送用的
         
                 //消息描述
                'notice_describe' => '已开票',  
                 //相关字段变量
                'field_variable' => '[{"name":"服务时间","key":"time"},{"name":"订单内容","key":"content"},{"name":"服务项目","key":"goods_name"},{"name":"订单编号","key":"order_id"}]',  
                //系统|是否开启消息（0关闭 1开启）
                'is_system_notice' => '1', 
                // 系统通知设置(为空则不显示设置)
                'system_notice' => '{"name":"发货通知","content":"{nickname}您好！您的订单{order_id}已于{time}成功支付，订单数量{total_num},订单金额{order_amount}"}',
                // 短信|是否开启消息（0关闭 1开启）
                'is_sms_notice' => 1,
                // 短信通知设置
                'sms_notice'    =>'{"name":"发货通知","sms_id":"1234562211","content":"亲爱的{nickname}，您的订单已支付，订单号{order_sn}，订单金额{order_amount}元。","status":"1"}',
                // 公众号 0不推送 1推送
                'is_wx_mp_notice' => 0,
                // 公众号通知设置(为空则不显示设置)
                'wx_mp_notice' => '{"name":"退款通知","template_number":"2411-1","template_id":"RKBLofCwQ0D6jgyQh9NnFb7p8DebV3PYNAX3wzyLmAI","template":[{"name":"服务时间","keyword":"date4","content":"time"},{"name":"订单内容","keyword":"thing6","content":"content"},{"name":"服务项目","keyword":"thing2","content":"goods_name"},{"name":"订单编号","keyword":"character_string13","content":"order_id"}]}',
                // 微信小程序  0不推送 1推送
                'is_wx_mch_notice' =>0,
                // 小程序通知设置(为空则不显示设置)
                'wx_mch_notice'  => '{"name":"发货通知","template_number":"3671","template_id":"q17oojAOT2Pvlfl1L_2Ln0zd299tb07-5VtJpiD7ma0","status":"1","template":[{"name":"订单号","keyword":"number1","content":"order_id"},{"name":"服务项目","keyword":"thing7","content":"goods_name"},{"name":"温馨提示","keyword":"thing3","content":"goods_msg"}]}'
                
 
            ],
           
      ]
   
     
  
   
    
];